package day04;

public class Test2Inner {

    public void method(){
        new Inter1(){
            @Override
            public void show2() {
                System.out.println("我是匿名内部类");
            }
        }.show2();
    }

}
interface Inter1{
    void show2();
}

